#ifndef PROTOCOL13761_H
#define PROTOCOL13761_H

#include "global_var.h"

class protocol13761
{
public:
    protocol13761();

    int make376Frame(objRequest  *pRequest);
    void protocol_service_check_header( channel_param   *serial_channel);
    BOOLEAN check_has_received_available_header( channel_param   *serial_channel);
    INT8U  is_376_simple_protocol_frame_header(INT8U *frame, INT16U recv_len);
    INT16U  get_376_simple_protocol_frame_len(INT8U *frame, INT16U recv_len);
    int protocol_service_check_frame(channel_param   *serial_channel);
    INT16U init_simple_376protocol_frame_checksum(INT8U *frame, INT16U frame_len, INT16U recv_len);
    INT8U is_simple_376_protocol_frame_ready(INT8U *frame, INT16U frame_len, INT16U recv_len );
};

#endif // PROTOCOL13761_H
